package com.zn.entity;

/**
 * @author YinJiaWei
 * @version 2018/12/18 14:40
 */
public class KLineTickDto {
    /**合约code**/
    private String instrumentCode;
    /**最新价**/
    private String lastPrice;
    /**成交量**/
    private String volume;
    /**成交额**/
    private String turnover;
    /**持仓量**/
    private String openInterest;
    /**最后修改时间**/
    private String updateTime;

    public KLineTickDto(String instrumentCode, String lastPrice, String volume, String turnover, String openInterest, String updateTime) {
        this.instrumentCode = instrumentCode;
        this.lastPrice = lastPrice;
        this.volume = volume;
        this.turnover = turnover;
        this.openInterest = openInterest;
        this.updateTime = updateTime;
    }

    public String getInstrumentCode() {
        return instrumentCode;
    }

    public void setInstrumentCode(String instrumentCode) {
        this.instrumentCode = instrumentCode;
    }

    public String getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(String lastPrice) {
        this.lastPrice = lastPrice;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getTurnover() {
        return turnover;
    }

    public void setTurnover(String turnover) {
        this.turnover = turnover;
    }

    public String getOpenInterest() {
        return openInterest;
    }

    public void setOpenInterest(String openInterest) {
        this.openInterest = openInterest;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
